#pragma once

#define BOOST_NO_EXCEPTIONS
#include <exception>

#ifndef GNU_STL

// STLPort for Android doesn't define neither std::exception nor std::bad_alloc
namespace std {

class bad_alloc : public exception {
};

class bad_cast : public exception {
};

}
#endif
